﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>后台登陆</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<style type="text/css">
			.div{
				width:500px; height:500px;margin:0 auto;border:1px solid #999
			}
		</style>
		<script>
			function checkCodeImg()
			{
				var r=(new Date())+Math.random();
				document.getElementById("img").src="__APP__/Login/verify/id/"+r;
			}
		</script>
  </head>
  <body>
    <div class="div">
    	<h1 align="center">登陆界面</h1>
      <form name="formLogin" action="__APP__/Login/login" method="post">
        <table width="100%" border="0" align="left" cellpadding="3" cellspacing="5">
          <tr>
            <td width="15%" align="right">用户名：</td>
            <td width="85%"><input name="userName" type="text" size="25" class="inputBg" /></td>
          </tr>
          <tr>
            <td align="right">密&nbsp;&nbsp;&nbsp;码：</td>
            <td><input name="password" type="password" size="25"  class="inputBg"/></td>
          </tr>
          <tr>
            <td align="right">验证码：</td>
            <td><input name="checkCode" type="text" size="25"  class="inputBg"/>
            	<br/>
            	<img id="img" src="__APP__/Login/verify" style="cursor:pointer;"onload='if (this.width>140 || this.height>226) if (this.width/this.height>140/226) this.width=170; else this.height=100;' onclick="checkCodeImg()"/>
            </td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td  align="left"><input type="checkbox" value="1" name="remember" id="remember" /><label for="remember">请保存我这次的登录信息。</label></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td align="left">
              <input type="submit" name="submit" value="登陆" class="us_Submit" />
              <input type="button" name="register" value="注册" onclick="document.location.href='__APP__/Register/index'"/>
            </td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td  align="left"><a href="__APP__/setsubmit/index">忘记密码？找回密码<a></td>
          </tr>
          
        </table>
      </form> 
    </div>
  </body>
</html>